Meteor.startup(() => {
  //移动端隐藏登出按钮
  if (
    process.env.OAUTH2_MOA_ENABLED === 'true' ||
    process.env.OAUTH2_MOA_ENABLED === true
  ) {
    Meteor.settings.public.allowLogout = false;
  } else {
    Meteor.settings.public.allowLogout = true;
  }
});
